package com.xiaogao.serviceEdu.client;

import com.xiaogao.commonUtils.Result;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 小高
 * @createtime 2021-06-23-20:35
 * @description
 */
@FeignClient(name = "service-oss")
@Component
public interface OSSClient {

    // 定调调用删除封面方法路径
    @DeleteMapping("/eduoss/file/removeCourseById/{coverName}")
    public Result removeOssFile(
            @PathVariable("coverName") String coverName);


}
